package com.huxun.controller;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Scope("prototype")
public class CommonController {
    /*
    * 通用的跳转页面
    * */
    @RequestMapping("/page_{page}")
    public String goPage(@PathVariable("page") String page){
        return page;
    }

}
